package com.qianfeng.user.mapper;

import java.util.List;

import com.qianfeng.user.bean.Address;

public interface AddressMapper {
	int saveAddress(Address address);
	int deleteByAddressIdAndUserId(Address address);
	int updateByAddressIdAndUserId(Address address);
	int updateDefualtByUserId(Address address);
	int updateDefualtByAddressId(Address address);
	List<Address> getAddressesByUserId(long user_id);
}
